﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WindowsFormsApplication1
{
    class rect
    {
        private int sens;
        private int x;
        private int y;
        private System.Windows.Forms.PictureBox pic;

        public int Sens
        {
            get { return sens; }
            set { sens = value; }
        }
        public int X
        {
            get { return x; }
            set { x = value; }
        }
        public int Y
        {
            get { return y; }
            set { y = value; }
        }

        rect(int x, int y)
        {
            this.x = x;
            this.y = y;

            pic = new System.Windows.Forms.PictureBox();
            ((System.ComponentModel.ISupportInitialize)(this.pic)).BeginInit();
            this.pic.BackColor = System.Drawing.Color.Red;
            this.pic.Location = new System.Drawing.Point(100, 100);
            this.pic.Size = new System.Drawing.Size(25, 25);
            this.pic.TabIndex = 2;
            this.pic.TabStop = false;
            
        }
    }
}
